using System;
using System.Collections.Generic;

namespace FuzzyTaskList
{
    public abstract class TaskDataProviderBase<T> where T:new()
    {
        protected const string DataFileName = "myTasks.xml";
        protected const string AppFolderName = "FuzzyTaskList";

        private Dictionary<String, Object> _initData;

        protected TaskDataProviderBase()
        {
            _initData = new Dictionary<string, object>();
        }

        protected TaskDataProviderBase(Dictionary<String, Object> initData)
        {
            _initData = initData;
        }
        public abstract void Save(T data);
        public abstract T Load();

    }
}